package com.txtsqlclient.dataaccess;

/**
 * This is an enum having all supported DAOs.
 * 
 * @author spadda
 */
public enum DAOType {

    /** The Generic JDBC DAO. */
    GenericDAO("GenericDAO", "com.txtsqlclient.dataaccess.database.QueryExecutionDAO");

    String DAOIdentifier;

    String DAOClassName;

    private DAOType(String identifier, String className) {
        this.DAOIdentifier = identifier;
        this.DAOClassName = className;
    }

    /**
     * @return Returns the dAOClassName.
     */
    public String getDAOClassName() {
        return this.DAOClassName;
    }

    /**
     * @param className
     *            The dAOClassName to set.
     */
    public void setDAOClassName(String className) {
        this.DAOClassName = className;
    }

    /**
     * @return Returns the dAOIdentifier.
     */
    public String getDAOIdentifier() {
        return this.DAOIdentifier;
    }

    /**
     * @param identifier
     *            The dAOIdentifier to set.
     */
    public void setDAOIdentifier(String identifier) {
        this.DAOIdentifier = identifier;
    }

}